import { makeGetBy } from '@/utils/transformer';
import transformers from '@/utils/transformer';

export default {
  install(vue) {
    vue.prototype.$makeGetBy = makeGetBy;
    Object.keys(transformers).forEach(method => {
      vue.prototype[`$${method}`] = transformers[method];
    });
  }
};
